/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.isd.venta.modelo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import com.isd.global.modelo.CodigoPostal;
import com.isd.global.modelo.CondicionDeIva;
import com.isd.global.modelo.Jurisdiccion;
import com.isd.global.modelo.Pais;
import com.isd.global.modelo.Sitio;
import com.isd.global.modelo.TipoDocumento;
import com.isd.global.modelo.Zona;
import com.isd.inventario.modelo.ListaDePrecio;

/**
 *
 * @author Claudio
 */
@Entity
@Table(name = "VTMCLH", schema = "dbo")
public class Cliente implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "VTMCLH_NROCTA", nullable = false, length = 13)
    private String nrocta;
    
    /**
    @Column(name = "VTMCLH_RUBR01", length = 10)
    private String rubr01;
    @Column(name = "VTMCLH_RUBR03", length = 10)
    private String rubr03;
    @Column(name = "VTMCLH_RUBR04", length = 10)
    private String rubr04;
    */
    
    /**
    @Column(name = "VTMCLH_RUBR05", length = 10)
    private String rubr05;
    @Column(name = "VTMCLH_RUBR06", length = 10)
    private String rubr06;
    @Column(name = "VTMCLH_RUBR07", length = 10)
    private String rubr07;
    @Column(name = "VTMCLH_RUBR08", length = 10)
    private String rubr08;
    @Column(name = "VTMCLH_RUBR09", length = 10)
    private String rubr09;
    @Column(name = "VTMCLH_RUBR10", length = 10)
    private String rubr10;
    @Column(name = "VTMCLH_RUBR02", length = 10)
    private String rubr02;
    */
    @Basic(optional = false)
    @Column(name = "VTMCLH_NOMBRE", nullable = false, length = 120)
    private String nombre;
    @Column(name = "VTMCLH_NROSUB", length = 13)
    private String nrosub;
    
    /**
    @Column(name = "VTMCLH_RESPON", length = 60)
    private String respon;
    */
    @Column(name = "VTMCLH_DIRECC", length = 60)
    private String direcc;
    @Column(name = "VTMCLH_NUMERO", length = 6)
    private String numero;
    /**
    @Column(name = "VTMCLH_DPPISO", length = 6)
    private String dppiso;
    @Column(name = "VTMCLH_DEPTOS", length = 6)
    private String deptos;
    @Column(name = "VTMCLH_CODFIL", length = 6)
    private String codfil;
    */

    @JoinColumn(name = "VTMCLH_CODPAI", referencedColumnName = "GRTPAH_CODPAI", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private Pais pais;
    
    @ManyToOne(optional=false)
    @JoinColumns({
        @JoinColumn(name = "VTMCLH_CODPOS", referencedColumnName = "GRTPAC_CODPOS", nullable = false),
        @JoinColumn(name = "VTMCLH_CODPAI", referencedColumnName = "GRTPAC_CODPAI", nullable = false)
    })
    private CodigoPostal codigoPostal;

    /**
    @Column(name = "VTMCLH_MUNICP", length = 6)
    private String municp;
    @Column(name = "VTMCLH_FLETES")
    private Character fletes;
    */
    @Column(name = "VTMCLH_TELEFN", length = 30)
    private String telefn;
    /**
    @Column(name = "VTMCLH_NROFAX", length = 20)
    private String nrofax;
    @Column(name = "VTMCLH_NTELEX", length = 15)
    private String ntelex;
    */
    
    @JoinColumn(name = "VTMCLH_CNDIVA", referencedColumnName = "GRTIVA_CNDIVA", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private CondicionDeIva condicionDeIva;    

    @JoinColumn(name = "VTMCLH_TIPDOC", referencedColumnName = "GRTDCH_TIPDOC", nullable = false, insertable=false, updatable=false)
    @ManyToOne
    private TipoDocumento tipoDocumento;

    @Column(name = "VTMCLH_NRODOC", length = 50)
    private String nrodoc;

    @JoinColumn(name = "VTMCLH_VNDDOR", referencedColumnName = "VTTVND_VNDDOR", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private Vendedor vendedor;
    
    @JoinColumn(name = "VTMCLH_COBRAD", referencedColumnName = "VTTCOB_COBRAD", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private Cobrador cobrador;

    @JoinColumn(name = "VTMCLH_JURISD", referencedColumnName = "GRTJUR_JURISD", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private Jurisdiccion jurisdiccion;

    @JoinColumn(name = "VTMCLH_CODZON", referencedColumnName = "GRTZON_CODZON", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private Zona zona;

    /**
    @JoinColumn(name = "VTMCLH_ACTIVD", referencedColumnName = "GRTACT_ACTIVD", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private Actividad actividad;
    
    @JoinColumn(name = "VTMCLH_CATEGO", referencedColumnName = "GRTCAT_CATEGO", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private Categoria categoria;
    * */
    
    @JoinColumn(name = "VTMCLH_CNDPAG", referencedColumnName = "VTTCPH_CNDPAG", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private CondicionDePago condicionDePago;

    @JoinColumn(name = "VTMCLH_CNDPRE", referencedColumnName = "STTLPR_CODLIS", nullable = false, insertable=false, updatable=false)
    @ManyToOne
    private ListaDePrecio listaDePrecio;

    @JoinColumn(name = "VTMCLH_CODCRD", referencedColumnName = "VTTLCR_CODCRD", nullable = false, insertable=false, updatable=false)
    @ManyToOne
    private LimiteDeCreditoVenta limiteDeCredito;

    /**
    @Column(name = "VTMCLH_GRUBON", length = 6)
    private String vtmclhGrubon;
    @Column(name = "VTMCLH_CAMION", length = 6)
    private String camion;
    @Column(name = "VTMCLH_CAMALT", length = 6)
    private String camalt;
    @Column(name = "VTMCLH_TRACOD", length = 6)
    private String tracod;
    @Column(name = "VTMCLH_DIREP1", length = 2)
    private String direp1;
    @Column(name = "VTMCLH_DIREP2", length = 2)
    private String direp2;
    @Column(name = "VTMCLH_DIREP3", length = 2)
    private String direp3;
    @Column(name = "VTMCLH_DIREP4", length = 2)
    private String direp4;
    @Column(name = "VTMCLH_DIREP5", length = 2)
    private String direp5;
    @Column(name = "VTMCLH_HORREC", length = 20)
    private String horrec;
    */
    @Column(name = "VTMCLH_DIRENT", length = 60)
    private String dirent;
    @Column(name = "VTMCLH_PAIENT", length = 3)
    private String paient;
    @Column(name = "VTMCLH_CODENT", length = 10)
    private String codent;
    @Column(name = "VTMCLH_JURENT", length = 6)
    private String jurent;
    @Column(name = "VTMCLH_ZONENT", length = 6)
    private String zonent;
    @Basic(optional = false)
    /**
    @Column(name = "VTMCLH_COPIVT", nullable = false)
    private short copivt;
    @Basic(optional = false)
    @Column(name = "VTMCLH_COPIFC", nullable = false)
    private short copifc;
    @Basic(optional = false)
    @Column(name = "VTMCLH_COPIST", nullable = false)
    private short copist;
    **/
    @Lob
    @Column(name = "VTMCLH_TEXTOS", length = 2147483647)
    private String textos;

    
    /**
    @Column(name = "VTMCLH_TIPDO1", length = 4)
    private String tipdo1;
    @Column(name = "VTMCLH_NRODO1", length = 50)
    private String nrodo1;
    @Column(name = "VTMCLH_TIPDO2", length = 4)
    private String tipdo2;
    @Column(name = "VTMCLH_NRODO2", length = 50)
    private String nrodo2;
    @Column(name = "VTMCLH_TIPDO3", length = 4)
    private String tipdo3;
    @Column(name = "VTMCLH_NRODO3", length = 50)
    private String nrodo3;
    @Column(name = "VTMCLH_TIPDO4", length = 4)
    private String tipdo4;
    @Column(name = "VTMCLH_NRODO4", length = 50)
    private String nrodo4;
    @Column(name = "VTMCLH_TIPDO5", length = 4)
    private String tipdo5;
    @Column(name = "VTMCLH_NRODO5", length = 50)
    private String nrodo5;
    * */

    /** Dirección de correo electronico **/
    @Column(name = "VTMCLH_DIREML", length = 60)
    private String direml;
    
    /**
    @Column(name = "VTMCLH_SEGPRO")
    private Character segpro;
    * */
    @Column(name = "VTMCLH_CONTAD")
    private Character contad;
    /**
    @Column(name = "VTMCLH_EDISUB")
    private Character edisub;
    * */
    @Column(name = "VTMCLH_CUENTA", length = 40)
    private String cuenta;
    /**
    @Column(name = "VTMCLH_MAXITM")
    private Short maxitm;
    @Column(name = "VTMCLH_DIFDIA")
    private Short difdia;
    @Column(name = "VTMCLH_DIFDES")
    @Temporal(TemporalType.DATE)
    private Date difdes;
    @Column(name = "VTMCLH_DIFHAS")
    @Temporal(TemporalType.DATE)
    private Date difhas;
    @Column(name = "VTMCLH_PERINA")
    private Integer perina;
    @Column(name = "VTMCLH_IMPDIF", precision = 18, scale = 2)
    private BigDecimal impdif;

    @Column(name = "VTMCLH_CNDINT", length = 6)
    private String cndint;
    @Column(name = "VTMCLH_DISTRI")
    private Character vtmclhDistri;
    @Column(name = "VTMCLH_DEPOSI", length = 15)
    private String deposi;
    @Column(name = "VTMCLH_SECTOR", length = 15)
    private String sector;
    @Column(name = "VTMCLH_NRODIS", length = 13)
    private String nrodis;
    */
    @Column(name = "VTMCLH_INHIBE")
    private Character inhibe;
    /**
    @Column(name = "VTMCLH_PRMXPR", precision = 15, scale = 7)
    private BigDecimal prmxpr;
    @Column(name = "VTMCLH_PRMIPR", precision = 15, scale = 7)
    private BigDecimal prmipr;
    @Column(name = "VTMCLH_TRAFCR")
    private Character trafcr;
    @Column(name = "VTMCLH_CODCOF", length = 6)
    private String codcof;
    @Column(name = "VTMCLH_MODCPT", length = 2)
    private String modcpt;
    @Column(name = "VTMCLH_TIPCPT")
    private Character tipcpt;
    @Column(name = "VTMCLH_CODCPT", length = 6)
    private String codcpt;
    @Column(name = "VTMCLH_LISCLI")
    private Character liscli;
    @Column(name = "VTMCLH_TIPOPR", length = 6)
    private String tipopr;
    @Column(name = "VTMCLH_CODOPR", length = 30)
    private String codopr;
    @Column(name = "VTMCLH_MODPAG", length = 2)
    private String modpag;
    @Column(name = "VTMCLH_TIPPAG")
    private Character tippag;
    @Column(name = "VTMCLH_MEDPAG", length = 6)
    private String medpag;
    @Column(name = "VTMCLH_LANEXP", length = 1)
    private String lanexp;
    */

    @JoinColumn(name = "USR_VTMCLH_SITIOS", referencedColumnName = "USR_SITIOS_CODIGO", nullable = false, insertable=false, updatable=false)
    @ManyToOne(optional=false)
    private Sitio sitio;

    @Basic(optional = false)
    @Column(name = "USR_VTMCLH_ESTADO", nullable = false, length = 6)
    private String usrVtmclhEstado;
    /**
    @Column(name = "USR_VTMCLH_ACTIV2", length = 6)
    private String usrVtmclhActiv2;
    @Column(name = "USR_VTMCLH_ACTIV3", length = 6)
    private String usrVtmclhActiv3;    
    
    @Column(name = "USR_VTMCLH_NROCEL", length = 30)
    private String usrVtmclhNrocel;
    * 
    @Column(name = "USR_VTMCLH_FECING")
    @Temporal(TemporalType.DATE)
    private Date usrVtmclhFecing;
    /**
    @Column(name = "USR_VTMCLH_BARRIO", length = 60)
    private String usrVtmclhBarrio;
    */
    
    @Column(name = "USR_VTMCLH_FNTSIA", length = 120)
    private String fntsia;
    @Column(name = "USR_VTMCLH_POSNET")
    private Character posnet;
    @Column(name = "USR_VTMCLH_FEAFIP")
    @Temporal(TemporalType.DATE)
    private Date feafip;
    @Column(name = "USR_VTMCLH_IONWEB")
    private Character ionweb;
    @Column(name = "USR_VTMCLH_CONTAD")
    private Character usrContad;
    
    /**
    @Column(name = "USR_VTMCLH_RODADO", length = 1)
    private String rodado;
    @Column(name = "USR_VTMCLH_ERPANT", length = 8)
    private String erpant;
    */ 
    /**
    @Column(name = "USR_VTMCLH_LATTUD", precision = 15, scale = 7)
    private BigDecimal lattud;
    @Column(name = "USR_VTMCLH_LONTUD", precision = 15, scale = 7)
    private BigDecimal lontud;     
    @Column(name = "USR_VTMCLH_SJUAN_RSPE")
    private Character sjuanRspe;
    @Column(name = "USR_VTMCLH_APERSF")
    private Character apersf;
    */
    
    @Column(name = "USR_VTMCLH_FLCPOR", precision = 15, scale = 7)
    private BigDecimal flcpor;
    
    /**
    @Column(name = "USR_VTMCLH_APETUC")
    private Character apetuc;
    @Column(name = "USR_VTMCLH_FCHVFC")
    @Temporal(TemporalType.DATE)
    private Date fchvfc;
    @Column(name = "USR_VTMCLH_TIPING", length = 2)
    private String tiping;
    @Column(name = "USR_VTMCLH_RELCTA", length = 13)
    private String relcta;    
    */ 
    
    @Basic(optional = false)
    @Column(name = "USR_VTMCLH_DIRENT", nullable = false, length = 2)
    private String usrVtmclhDirent;   
    @Column(name = "VTMCLH_DEBAJA")
    private Character debaja;

    @Column(name = "USR_VTMCLH_FCHSCR")
    @Temporal(TemporalType.DATE)
    private Date fechaUltimoScore;

    @Column(name = "USR_VTMCLH_VALSCR")
    private Integer valorUltimoScore;

    @Column(name = "USR_VTMCLH_POOLSC", length=1)
    private String poolSoloContado;

    @Column(name = "USR_VTMCLH_POOLBQ", length=1)
    private String bloqueadoEnPool;
        
    @Column(name = "USR_VTMCLH_PIB902", length=1)
    private BigDecimal pib902;
        
    @Column(name = "USR_VTMCLH_PIB903", length=1)
    private BigDecimal pib903;
        
    @Column(name = "USR_VTMCLH_PIB909", length=1)
    private BigDecimal pib909;
        
    @Column(name = "USR_VTMCLH_PIB914", length=1)
    private BigDecimal pib914;
    
    @Column(name = "USR_VTMCLH_PIB918", length=1)
    private BigDecimal pib918;
        
    @Column(name = "USR_VTMCLH_PIB921", length=1)
    private BigDecimal pib921;
    
    @Column(name = "USR_VTMCLH_PIB924", length=1)
    private BigDecimal pib924;
        
    
    public Cliente(){
        
    }

    public Cliente(String nrocta) {
        this.nrocta = nrocta;
    }

    public Cliente(String nrocta, String n, Pais p, CodigoPostal cp, CondicionDeIva ci,
            Vendedor v, Cobrador c, Jurisdiccion j, Zona z, CondicionDePago cdp, short vtmclhCopivt, short vtmclhCopifc, short vtmclhCopist, Sitio sitios, String usrVtmclhEstado, String usrVtmclhDirent) {
        this.nrocta = nrocta;
        this.nombre = n;
        this.pais = p;
        this.codigoPostal = cp;
        this.condicionDeIva = ci;
        this.vendedor = v;
        this.cobrador = c;
        this.jurisdiccion = j;
        this.zona = z;
        this.condicionDePago = cdp;        
        this.sitio = sitios;
        this.usrVtmclhEstado = usrVtmclhEstado;
        this.usrVtmclhDirent = usrVtmclhDirent;
    }
  
    public Cobrador getCobrador() {
        return cobrador;
    }

    public void setCobrador(Cobrador cobrador) {
        this.cobrador = cobrador;
    }
    public String getCodent() {
        return codent;
    }

    public void setCodent(String codent) {
        this.codent = codent;
    }

    public CodigoPostal getCodigoPostal() {
        return codigoPostal;
    }

    public void setCodigoPostal(CodigoPostal codigoPostal) {
        this.codigoPostal = codigoPostal;
    }

    public CondicionDeIva getCondicionDeIva() {
        return condicionDeIva;
    }

    public void setCondicionDeIva(CondicionDeIva condicionDeIva) {
        this.condicionDeIva = condicionDeIva;
    }

    public CondicionDePago getCondicionDePago() {
        return condicionDePago;
    }

    public void setCondicionDePago(CondicionDePago condicionDePago) {
        this.condicionDePago = condicionDePago;
    }

    public Character getContad() {
        return contad;
    }

    public void setContad(Character contad) {
        this.contad = contad;
    }

    public String getCuenta() {
        return cuenta;
    }

    public void setCuenta(String cuenta) {
        this.cuenta = cuenta;
    }

    public Character getDebaja() {
        return debaja;
    }

    public void setDebaja(Character debaja) {
        this.debaja = debaja;
    }

    public String getDirecc() {
        return direcc;
    }

    public void setDirecc(String direcc) {
        this.direcc = direcc;
    }

    public String getDireml() {
        return direml;
    }

    public void setDireml(String direml) {
        this.direml = direml;
    }

    public String getDirent() {
        return dirent;
    }

    public void setDirent(String dirent) {
        this.dirent = dirent;
    }
  
    public Date getFeafip() {
        return feafip;
    }

    public void setFeafip(Date feafip) {
        this.feafip = feafip;
    }

    public BigDecimal getFlcpor() {
        return flcpor;
    }

    public void setFlcpor(BigDecimal flcpor) {
        this.flcpor = flcpor;
    }

    public String getFntsia() {
        return fntsia;
    }

    public void setFntsia(String fntsia) {
        this.fntsia = fntsia;
    }

    public Character getInhibe() {
        return inhibe;
    }

    public void setInhibe(Character inhibe) {
        this.inhibe = inhibe;
    }

    public Character getIonweb() {
        return ionweb;
    }

    public void setIonweb(Character ionweb) {
        this.ionweb = ionweb;
    }

    public String getJurent() {
        return jurent;
    }

    public void setJurent(String jurent) {
        this.jurent = jurent;
    }

    public Jurisdiccion getJurisdiccion() {
        return jurisdiccion;
    }

    public void setJurisdiccion(Jurisdiccion jurisdiccion) {
        this.jurisdiccion = jurisdiccion;
    }

    public LimiteDeCreditoVenta getLimiteDeCredito() {
        return limiteDeCredito;
    }

    public void setLimiteDeCredito(LimiteDeCreditoVenta limiteDeCredito) {
        this.limiteDeCredito = limiteDeCredito;
    }

    public ListaDePrecio getListaDePrecio() {
        return listaDePrecio;
    }

    public void setListaDePrecio(ListaDePrecio listaDePrecio) {
        this.listaDePrecio = listaDePrecio;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public String getNrocta() {
        return nrocta;
    }

    public void setNrocta(String nrocta) {
        this.nrocta = nrocta;
    }

    public String getNrodoc() {
        return nrodoc;
    }

    public void setNrodoc(String nrodoc) {
        this.nrodoc = nrodoc;
    }

    public String getNrosub() {
        return nrosub;
    }

    public void setNrosub(String nrosub) {
        this.nrosub = nrosub;
    }

    public String getNumero() {
        return numero;
    }

    public void setNumero(String numero) {
        this.numero = numero;
    }

    public String getPaient() {
        return paient;
    }

    public void setPaient(String paient) {
        this.paient = paient;
    }

    public Pais getPais() {
        return pais;
    }

    public void setPais(Pais pais) {
        this.pais = pais;
    }

    public Character getPosnet() {
        return posnet;
    }

    public void setPosnet(Character posnet) {
        this.posnet = posnet;
    }

    public String getTelefn() {
        return telefn;
    }

    public void setTelefn(String telefn) {
        this.telefn = telefn;
    }

    public String getTextos() {
        return textos;
    }

    public void setTextos(String textos) {
        this.textos = textos;
    }

    public TipoDocumento getTipoDocumento() {
        return tipoDocumento;
    }

    public void setTipoDocumento(TipoDocumento tipoDocumento) {
        this.tipoDocumento = tipoDocumento;
    }

    public Character getUsrContad() {
        return usrContad;
    }

    public void setUsrContad(Character usrContad) {
        this.usrContad = usrContad;
    }
    
    public String getUsrVtmclhDirent() {
        return usrVtmclhDirent;
    }

    public void setUsrVtmclhDirent(String usrVtmclhDirent) {
        this.usrVtmclhDirent = usrVtmclhDirent;
    }

    public String getUsrVtmclhEstado() {
        return usrVtmclhEstado;
    }

    public void setUsrVtmclhEstado(String usrVtmclhEstado) {
        this.usrVtmclhEstado = usrVtmclhEstado;
    }

    public Sitio getSitio() {
        return sitio;
    }

    public void setSitio(Sitio sitio) {
        this.sitio = sitio;
    }
    

    public Vendedor getVendedor() {
        return vendedor;
    }

    public void setVendedor(Vendedor vendedor) {
        this.vendedor = vendedor;
    }

    public Zona getZona() {
        return zona;
    }

    public void setZona(Zona zona) {
        this.zona = zona;
    }
    
    public String getZonent() {
        return zonent;
    }

    public void setZonent(String zonent) {
        this.zonent = zonent;
    }

    public Date getFechaUltimoScore() {
        return fechaUltimoScore;
    }

    public void setFechaUltimoScore(Date fechaUltimoScore) {
        this.fechaUltimoScore = fechaUltimoScore;
    }

    public Integer getValorUltimoScore() {
        return valorUltimoScore;
    }

    public void setValorUltimoScore(Integer valorUltimoScore) {
        this.valorUltimoScore = valorUltimoScore;
    }

    public String getBloqueadoEnPool() {
        return bloqueadoEnPool;
    }

    public void setBloqueadoEnPool(String bloqueadoEnPool) {
        this.bloqueadoEnPool = bloqueadoEnPool;
    }

    public String getPoolSoloContado() {
        return poolSoloContado;
    }

    public void setPoolSoloContado(String poolSoloContado) {
        this.poolSoloContado = poolSoloContado;
    }

    public BigDecimal getPib902() {
        return pib902;
    }

    public void setPib902(BigDecimal pib902) {
        this.pib902 = pib902;
    }

    public BigDecimal getPib903() {
        return pib903;
    }

    public void setPib903(BigDecimal pib903) {
        this.pib903 = pib903;
    }

    public BigDecimal getPib909() {
        return pib909;
    }

    public void setPib909(BigDecimal pib909) {
        this.pib909 = pib909;
    }

    public BigDecimal getPib914() {
        return pib914;
    }

    public void setPib914(BigDecimal pib914) {
        this.pib914 = pib914;
    }

    public BigDecimal getPib918() {
        return pib918;
    }

    public void setPib918(BigDecimal pib918) {
        this.pib918 = pib918;
    }

    public BigDecimal getPib921() {
        return pib921;
    }

    public void setPib921(BigDecimal pib921) {
        this.pib921 = pib921;
    }

    public BigDecimal getPib924() {
        return pib924;
    }

    public void setPib924(BigDecimal pib924) {
        this.pib924 = pib924;
    }
    
    @Override
    public int hashCode() {
        int hash = 0;
        hash += (nrocta != null ? nrocta.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Cliente)) {
            return false;
        }
        Cliente other = (Cliente) object;
        if ((this.nrocta == null && other.nrocta != null) || (this.nrocta != null && !this.nrocta.equals(other.nrocta))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "tv.venta.modelo.Cliente[vtmclhNrocta=" + nrocta + "]";
    }

}
